package com.yunxi.sto.service;

import com.github.pagehelper.PageInfo;
import com.yunxi.sto.pojo.*;

import java.util.ArrayList;
import java.util.List;

public class StoStorageCheckDubboServiceMock implements StoStorageCheckDubboService {
    @Override
    public StoStorageCheckVO getById(String id) throws Exception {
        StoStorageCheckVO vo = new  StoStorageCheckVO();
        vo.setCheckName("暂无数据");
        return vo;
    }

    @Override
    public void saveOrUpdate(StoStorageCheckVO stoStorageCheckVO) throws Exception {

    }

    @Override
    public void removeById(String id) {

    }

    @Override
    public PageInfo<StoStorageCheckExportVO> findPageByVO(StoStorageCheckVO stoStorageCheckVO, Integer pageNum, Integer pageSize) throws Exception {
        return null;
    }

    @Override
    public List<StoStorageCheckExportVO> export(StoStorageCheckVO stoStorageCheckVO) throws Exception {
        List  list  =  new ArrayList();
        StoStorageCheckExportVO vo =  new StoStorageCheckExportVO();
        vo.setVin("暂无数据");
        list.add(vo);
        return list;
    }

    @Override
    public void removeByListVo(List<StoStorageCheckVO> stoStorageCheckVOList) throws Exception {

    }

    @Override
    public List listByVo(StoStorageCheckVO stoStorageCheckVO) {
        List  list  =  new ArrayList();
        StoStorageCheckExportVO vo =  new StoStorageCheckExportVO();
        vo.setVin("暂无数据");
        list.add(vo);
        return list;
    }

    @Override
    public void del(String checkName) throws Exception {

    }

    @Override
    public void newPlan(StoStorageCheckAddVO stoStorageCheckAddVO) throws Exception {

    }

    @Override
    public PageInfo<StoStorageCheckListVO> checkPlanList(StoStorageCheckListVO stoStorageCheckListVO, Integer pageNum, Integer pageSize) throws Exception {
        PageInfo<StoStorageCheckListVO> page =  new   PageInfo<StoStorageCheckListVO>();
        List  list  =  new ArrayList();
        StoStorageCheckListVO vo =  new StoStorageCheckListVO();
        vo.setCheckName("暂无数据");
        list.add(vo);
        page.setList(list);
        return page;

    }

    @Override
    public StoStorageCheckDetailVO detail(String vin, String checkName) throws Exception {
        StoStorageCheckDetailVO vo =  new StoStorageCheckDetailVO();
        vo.setCheckName("暂无数据");
        return vo;
    }

    @Override
    public void complete(StoStorageCheckDetailVO stoStorageCheckDetailVO) throws Exception {

    }

    @Override
    public StoStorageCheckReportVO checkReport(String checkName) throws Exception {
        StoStorageCheckReportVO vo =  new StoStorageCheckReportVO();
        vo.setCheckName("暂无数据");
        return vo;
    }
}
